package com.Listen;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class MyServletContextListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("context初始化");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("context被销毁");
    }
    
}
